home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1515 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: news.iag.net!news
  2. From: jatmon@iag.net (John R Buchan)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: HELP! what is the command in C++ or C for running external DOS Programs
  5. Date: 14 Jan 1996 20:43:41 GMT
  6. Organization: Internet Access Group, Orlando, Florida
  7. Message-ID: <4dbptt$47c@news.iag.net>
  8. References: <30F94797.33A1@c4.hinet.net>
  9. NNTP-Posting-Host: pm3-orl13.iag.net
  10. X-Newsreader: WinVN 0.99.7
  11.  
  12. In article <30F94797.33A1@c4.hinet.net>, maniac@c4.hinet.net says...
  13. >
  14. >Hello everyone,
  15. >        I need help finding the command for running dos programs within 
  16. >C++ or C.   If anyone knows of it, I would appreciate any help!
  17. >                                        Warmest Regards
  18. >                                                  Philip Lee
  19.  
  20. The ansi function is system().  There are a number of system specific
  21. alternatives (fork, spawn, exec, WinExec, ShellExecute, etc). 
  22.  
  23. -- 
  24. John R Buchan           -:|:-     Looking for that elusive FAQ?  ftp to:
  25. jatmon@mail.iag.net     -:|:-     rtfm.mit.edu /pub/usenet-by-group/....
  26.  
  27.